package com.whfc.common.face.szyc;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2021-12-08 15:59
 */
public class SzycConst {

    /**
     * 平台给人脸机发送指令
     */
    public static final String TOPIC_REQ = "mqtt/face/{0}";

    /**
     * 人脸机回复平台指令
     * $queue/ 是共享订阅  避免多机重复消费
     */
    public static final String TOPIC_ACK = "$queue/mqtt/face/{0}/Ack";

    /**
     * $queue/ 是共享订阅  避免多机重复消费
     * 人脸机发送识别记录
     */
    public static final String TOPIC_REC = "$queue/mqtt/face/{0}/Rec";

    /**
     * 人脸机发送陌生人抓拍记录
     * $queue/ 是共享订阅  避免多机重复消费
     */
    public static final String TOPIC_SNAP = "$queue/mqtt/face/{0}/Snap";

    /**
     * 人脸机发送二维码扫码信息
     */
    public static final String TOPIC_QRCODE = "$queue/mqtt/face/{0}/QRCode";

    /**
     * 查询所有人员ID
     */
    public static final String OP_QUERY_PERSON = "QueryPerson";

    /**
     * 查询所有人员ID-ack
     */
    public static final String OP_QUERY_PERSON_ACK = "QueryPerson-Ack";

    /**
     * 批量添加人员
     */
    public static final String OP_ADD_PERSONS = "AddPersons";

    /**
     * 批量添加人员-Ack
     */
    public static final String OP_ADD_PERSONS_ACK = "AddPersons-Ack";

    /**
     * 批量删除人员
     */
    public static final String OP_DEL_PERSONS = "DeletePersons";

    /**
     * 批量删除人员响应
     */
    public static final String OP_DEL_PERSONS_ACK = "DeletePersons-Ack";

    /**
     * 查询人员详细信息
     */
    public static final String OP_SEARCH_PERSON = "SearchPerson";

    /**
     * 查询人员详细信息-acl
     */
    public static final String OP_SEARCH_PERSON_ACK = "SearchPerson-Ack";

    /**
     * 识别记录上传
     */
    public static final String OP_RECPUSH = "RecPush";

    /**
     * 陌生人抓拍推送
     */
    public static final String OP_STRSNAPPUSH = "StrSnapPush";

    /**
     * 方向-进
     */
    public static final String IN = "entr";

    /**
     * 方向-出
     */
    public static final String OUT = "exit";

    /**
     * 闸机操作符
     */
    public static final String OPERATOR = "operator";

    /**
     * 闸机响应信息
     */
    public static final String INFO = "info";

    /**
     * 玉川人员ID 以 , 分割
     */
    public static final String CUSTOM_ID_REGEX = ",";
}
